3.135 \(\int (3+4 x+3 x^2)^p \, dx\)

Optimal. Leaf size=37 \[ 3^{-p-1} 5^p (3 x+2) \, _2F_1\left (\frac {1}{2},-p;\frac {3}{2};-\frac {1}{5} (3 x+2)^2\right ) \]

[Out]

3^(-1-p)*5^p*(2+3*x)*hypergeom([1/2, -p],[3/2],-1/5*(2+3*x)^2)

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 37, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {619, 245} \[ 3^{-p-1} 5^p (3 x+2) \, _2F_1\left (\frac {1}{2},-p;\frac {3}{2};-\frac {1}{5} (3 x+2)^2\right ) \]

Antiderivative was successfully verified.

[In]

Int[(3 + 4*x + 3*x^2)^p,x]

[Out]

3^(-1 - p)*5^p*(2 + 3*x)*Hypergeometric2F1[1/2, -p, 3/2, -(2 + 3*x)^2/5]

Rule 245

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[a^p*x*Hypergeometric2F1[-p, 1/n, 1/n + 1, -((b*x^n)/a)],
x] /; FreeQ[{a, b, n, p}, x] &&  !IGtQ[p, 0] &&  !IntegerQ[1/n] &&  !ILtQ[Simplify[1/n + p], 0] && (IntegerQ[p
] || GtQ[a, 0])

Rule 619

Int[((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Dist[1/(2*c*((-4*c)/(b^2 - 4*a*c))^p), Subst[Int[Si
mp[1 - x^2/(b^2 - 4*a*c), x]^p, x], x, b + 2*c*x], x] /; FreeQ[{a, b, c, p}, x] && GtQ[4*a - b^2/c, 0]

Rubi steps

\begin {align*} \int \left (3+4 x+3 x^2\right )^p \, dx &=\frac {1}{2} \left (3^{-1-p} 5^p\right ) \operatorname {Subst}\left (\int \left (1+\frac {x^2}{20}\right )^p \, dx,x,4+6 x\right )\\ &=3^{-1-p} 5^p (2+3 x) \, _2F_1\left (\frac {1}{2},-p;\frac {3}{2};-\frac {1}{5} (2+3 x)^2\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 37, normalized size = 1.00 \[ 3^{-p-1} 5^p (3 x+2) \, _2F_1\left (\frac {1}{2},-p;\frac {3}{2};-\frac {1}{5} (3 x+2)^2\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[(3 + 4*x + 3*x^2)^p,x]

[Out]

3^(-1 - p)*5^p*(2 + 3*x)*Hypergeometric2F1[1/2, -p, 3/2, -1/5*(2 + 3*x)^2]

________________________________________________________________________________________

fricas [F]  time = 1.00, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (3 \, x^{2} + 4 \, x + 3\right )}^{p}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((3*x^2+4*x+3)^p,x, algorithm="fricas")

[Out]

integral((3*x^2 + 4*x + 3)^p, x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (3 \, x^{2} + 4 \, x + 3\right )}^{p}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((3*x^2+4*x+3)^p,x, algorithm="giac")

[Out]

integrate((3*x^2 + 4*x + 3)^p, x)

________________________________________________________________________________________

maple [F]  time = 2.55, size = 0, normalized size = 0.00 \[ \int \left (3 x^{2}+4 x +3\right )^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((3*x^2+4*x+3)^p,x)

[Out]

int((3*x^2+4*x+3)^p,x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (3 \, x^{2} + 4 \, x + 3\right )}^{p}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((3*x^2+4*x+3)^p,x, algorithm="maxima")

[Out]

integrate((3*x^2 + 4*x + 3)^p, x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.03 \[ \int {\left (3\,x^2+4\,x+3\right )}^p \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((4*x + 3*x^2 + 3)^p,x)

[Out]

int((4*x + 3*x^2 + 3)^p, x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (3 x^{2} + 4 x + 3\right )^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((3*x**2+4*x+3)**p,x)

[Out]

Integral((3*x**2 + 4*x + 3)**p, x)

________________________________________________________________________________________